function ConfController($scope, $routeParams, $http, $resource , $rootScope){

    $scope.configTitle = "Profile";
    $scope.update= function (){
        $rootScope.client = $scope.client;
        $rootScope.nickname = $scope.nickname;
        $rootScope.auth = $scope.auth;


    };

}